// The primary key specification is stored as an array of column names. An
// instance of a key is of the format: colName=value&colName=value....
function CSWRecordSet_Key()
{
if( this.EOF ){
return "$newRecord";
}
var keyLengthLimit = 255 - String( Request.ServerVariables( "PATH_TRANSLATED" )).length - 50; // 50 is extra mergin included server name
var fieldLengthLimit = Math.max( 4, (( keyLengthLimit / this.PrimaryKey.length ) / 6 )); // Min 4 is for "null". 6 is worst case for 2 byte char encoded.
var key = "";
var keyField = "";
for( var i = 0; i < this.PrimaryKey.length; i++ ){